home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7461 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  12.2 KB

  1. Path: news.tau.ac.il!usenet
  2. From: "Avi L." <avil@sapiens.com>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: 680X0 -> PPC translator?
  5. Date: Wed, 17 Apr 1996 11:02:27 +0300
  6. Organization: Sapiens Tech.
  7. Message-ID: <3174A593.5045@sapiens.com>
  8. References: <31499F8E.26A9@netvision.net.il> <volker.0fw1@vb.franken.de> <19960408.40F118.E8F9@an052.du.pipex.com> <316BD11F.69A7@netvision.net.il> <19960410.413918.CA24@aj158.du.pipex.com> <316FE1A5.3A1F@netvision.net.il> <19960413.4A71D0.E501@an089.du.pipex.com>
  9. NNTP-Posting-Host: honda.sapiens.co.il
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (WinNT; I)
  14.  
  15. Mathew Hendry wrote:
  16. Hi Mat,
  17.  
  18. > Er, I'm not "generalizing" the theorem - it applies directly to this situation.
  19. > Since you say in another post that you don't even know what a Turing machine
  20. > is, you clearly don't know anything about what this theorem says. So, I refer
  21. > you to:
  22. > Turing, A. M. (1937). On computable numbers, with an application to the
  23. > Entscheidungsproblem. Proceedings of the London Mathematical Society (ser. 2),
  24. > 42, 230-65; a correction, 43, 544-6.
  25. > Two things are significant here:
  26. > 1. Current computers are equivalent to generalised Turing machines - i.e.
  27. > anything which may be computed on a generalised Turing machine may also be
  28. > computed on a current computer (barring storage limitations) and vice versa.
  29.  
  30. ok, but that still has no barring on this specific case. look, each problem has its own
  31. unique solution, some don't have a solution at all at this stage that's true but
  32. havn't been proven to have no solution at all and for this specific problem neither you
  33. nor anybody else for that matter have given me any proof that it's impossible to implement.
  34. i'm not saying it'll solve all situations at first, but with incremental enhancements it will
  35. get closer and closer to that ideal limit.
  36.  
  37. > 2. No algorithm which can be executed on a generalised Turing machine can
  38. > completely track the logical path of every other possible algorithm in all
  39. > situations.
  40.  
  41. fuzzy, too fuzzy. 
  42.  
  43. > When these two points are applied to the problem of static program
  44. > translation, it becomes clear that, since no algorithm can completely track
  45. > the logical path followed by all programs in all situations, no algorithm can
  46. > reliably make the distinction between code and data which your claims imply.
  47.  
  48. i gave you the method by which i would identify these sections and yet you failed to
  49. provide me with a possible failure scenario, according to you it would be no problem
  50. finding one. many have tried and failed and they had very strong convictions that they
  51. were correct yet they have failed to respond to my legitimate solutions there by ignoring
  52. the problem altogether, meaning they raised their white flag in my eyes.
  53.  
  54. > Note that the proof of this includes ALL POSSIBLE ALGORITHMS which one may
  55. > attempt to use to make the distinction - and STILL the problem is insoluble in
  56. > the general case.
  57.  
  58. again, it may not be completely bullet-proof at the beggining but it will nevertheless
  59. deal with all known programming paradigms quite successfully. all you are seeing as a 'major'
  60. problem is this identification of code and data which i have already described how to solve.
  61. the next thing you're probably going to say if i've 'synced' on your frequency  correctly
  62. is that my proof is reasonable cuz it involves some kind of probablity, well...hey it's
  63. a free world out there, so be it.
  64.  
  65.  
  66. > : code and data can easily be distinguished, if a series of words makes sense
  67. > : as a code section it's probably code and you can make sure it is by
  68. > : deferring its translation until it is called from some place else or it
  69. > : simply makes too much sense to be random data. for example: valid
  70. > : jump/calls, references valid addresses, code instruction sequence maintained
  71. > : w/o being interrupted by some data word which doesn't make sense as code.
  72. > This vague hand-waving only allows you to get out of certain situations, not
  73. > all. You can wave your hands until they fall off and yet still never reach a
  74. > complete solution.
  75.  
  76. why the hell not, give me a possible scenario where you're sure it would fail.
  77.  
  78. > : what you claim suggests that not any algorithm can solve ALL situations of a
  79. > : given problem, like how many algorithms exist for adding 2 numbers. there's
  80. > : obviously one.
  81. > That is not what the theorem says at all. Clearly some classes of problem are
  82. > completely soluble algorithmically in the general case. What the theorem says
  83. > is that some classes are NOT, and static translation is one of that set of
  84. > classes. The solution of generalised Diophantine equations (which I think were
  85. > mentioned in an earlier post) is another class of problem within this set.
  86.  
  87. how can you be so sure that static translation falls in the unsolvable category, what
  88. are you god all of a sudden? please stick to reality and in reality you're wrong until
  89. proven otherwise.
  90.  
  91. > : your inability to deal with more complex problems prevents you from seeing a
  92. > : possible solution.
  93. > There is no possible solution. I cannot see something which doesn't exist. Can
  94. > you?
  95.  
  96. well, i'm not asking you to see anything, just provide some basis for your claim of the
  97. impossibilty of static translation, all you've done by now is hiding behind a shield of
  98. theorems which don't necessarily have any connection to this specific problem, if you
  99. can't stand the heat better stay out of the kitchen i guess.
  100.  
  101. > : just as human can do manual translation of the code so can an algorithm.
  102. > Obviously, for a PARTICULAR case. All the human has to do is encode those
  103. > operations which [s]he has performed as an algorithm. But clearly that
  104. > algorithm will not apply to all other programs.
  105.  
  106. what??? bare in mind that a human wrote these algorithms so these algorithms are by 
  107. definition have human logic in them and can thus be understood by humans. i'm sorry
  108. to say that i still havn't seen any aliens writing computer programs using alien logic
  109. system. that would be a case where (human) static translations could fail.
  110.  
  111. > If you want to make the stronger claim that a human can in principle (*)
  112. > translate ANY program accurately (and you have no way of proving this), then
  113. > it does NOT follow that an algorithm can too, because it has already been
  114. > PROVEN that an algorithm CANNOT. What follows, instead, is that humans do not
  115. > operate algorithmically, which is a very strong claim indeed.
  116.  
  117. humans do operate algorithmatically indeed although no one said this algorithm is by any
  118. chance flawless, no way jose, still i don't see any connection to the problem at hand
  119. i understand that it's easier for you to stand behind your theorems but please, unless
  120. you can provide direct connection of these theorems on this case i strongly suggest
  121. you stop using them, and that's true in any situation. theorems aren't proofs and don't
  122. confuse between them, just because it aligns itself well with some situations it doesn't
  123. mean a theorem's true for all similar cases.
  124.  
  125. > * - in practice, a human will make errors, but we are talking about
  126. > principle here. In other words, a human may be intellectually CAPABLE of
  127. > solving the problem in the general case, even though in practice [s]he may
  128. > make mistakes, die of old age in the meantime, etc.
  129.  
  130. mistakes don't imply that it can't be done for example a child could claim that 1+1 = 3, he's
  131. wrong of course but does that make the problem any less solvable, NO!!!
  132.  
  133. > : > Sorry, no matter how many "indirect and mysterious ways" you invent, the
  134. > : > problem cannot be solved algorithmically for all cases. That is a mathematical
  135. > : > truth.
  136. > :
  137. > : oh is that so, you speak as if ALL of the math secrets are discovered to you.
  138. > Of course they aren't all "discovered to me", but that is irrelevant.
  139.  
  140. irrelevant, i don't think so, if you knew ALL and i mean ALL the secrets of the mathematics
  141. i would go down on my knees and start worshipping you :-) i would'nt even start debating
  142. this subject, unfortunatly, you don't know all of that and you can, as can i make mistakes
  143. that's why the PROOF concept was indeed invented, theorems are nice for most practical cases
  144. but don't say they're useful for all cases which you havn't even started to think about.
  145.  
  146. > : well you DON'T know that for sure. have you tried ALL possible solutions to
  147. > : solve one of your undecidable problems.
  148. > The proof INCLUDES all possible solutions. It therefore doesn't matter how
  149. > many of those particular solutions *I* currently know.
  150.  
  151. yeah that's true, you can't argue with the absolute truth. if you had provided me with
  152. a concrete proof i would shut up and say that you're undoubtably right, till then you're wrong
  153. until proven otherwise.
  154.  
  155. > Do you have to add every pair of numbers to know that your algorithm for
  156. > adding a pair of numbers is correct? No, the fact that it is correct follows
  157. > from the construction of the number system. Likewise, the fact that a computer
  158. > cannot reliably translate all computer programs follows from the construction
  159. > of the computer.
  160.  
  161. the first case is true and trivial, however you'll have to provide the proof for the 2nd
  162. claim.
  163.  
  164. > : i'm not eliminating the impossible, oh no, some things are definitly
  165. > : impossible even to imagine. but you simply have no CONCRETE basis for your
  166. > : claim. as all the others have already submitted their ideas of impossible
  167. > : getaway situations which have successfully been dealt with by yours truely,
  168. > : i suggest you do the same to undermine my theory.
  169. > All you are doing is adding bits to your algorithm to deal with more
  170. > situations. The point is that no matter how much you add, you cannot deal
  171. > with ALL situations. Anybody can give you an example of a program which will
  172. > be broken by your translator (although at this time it is difficult to be
  173. > specific, because you haven't yet given a full description of your algorithm),
  174. > and you can come up with an enhancement which will solve that PARTICULAR
  175. > problem, but never ALL problems.
  176.  
  177. most changes in the world are incremental by their nature, i can't see why is that
  178. evolutionary process so bad even though it might be slow.
  179.  
  180. > : > Great, try translating a program which in some circumstances attempts to
  181. > : > execute some of its own data. You immediately have a problem - is that portion
  182. > : > of the program code or is it data? You cannot decide, for sometimes it appears
  183. > : > to be data, and sometimes it appears to be code. This indeterminacy remains
  184. > : > even if the program contains no bugs, and remember, nearly all useful programs
  185. > : > DO contain bugs.
  186. > :
  187. > : read above paragraphs for hints of solving this simple situation.
  188. > I see nothing there which would solve it in all cases. You have made vague
  189. > claims involving "probably", "makes sense" etc. etc., fuzzy indications of
  190. > what algorithms you use to decide such things, and NO PROOF that they would
  191. > work in all situations (which of course they cannot, whatever they are).
  192.  
  193. why not, if a sequence of words makes sense as code according to the given critirias then
  194. why wouldn't it be code, if it's just random data, which you know as well as i that this
  195. would happen 1 in a million, all we've done is randomize it again.
  196.  
  197. > : > You may choose to work around such problems by storing indeterminate program
  198. > : > fragments in their original form in the translated binary. But these residual
  199. > : > untranslated pieces will have to be handled on the fly when running the
  200. > : > translated program. In that case, you no longer have a static translator -
  201. > : > you have an emulator.
  202. > :
  203. > : no no no, no further run-time analysis is necessary. only static translation.
  204. > Prove it. Again, you cannot.
  205.  
  206. i gave the proofs for all other given scenarios it'll take impractical amount of
  207. time repeating it here again.
  208.  
  209. > A program such as yours would be genuinely useful, even though it can only
  210. > work in some cases. However, your claim that it is flawless and will work in
  211. > all cases is patently false. That is what I am taking issue with.
  212.  
  213. no, i didn't say that, it would have to go through the stages of evolution as most
  214. other complex processes go through. nobody can foresee how software will look like
  215. in 5-10 years from now, of course new methods for solving new problems will have to be
  216. invented. it is a rare case where a solution is good for a long period of time w/o
  217. being modified at all.
  218.  
  219. Avi Lev
  220.